﻿using System;
using Microsoft.Xna.Framework;

namespace TicTacToeX {
	public static class GraphicsSettings {
		
		private static GraphicsDeviceManager Graphics;
		public static Int16 Width  = 800;
		public static Int16 Height = 480;

		/// <summary>
		/// Use this method to apply the chages in the Graphics Devices
		/// </summary>
		/// <param name="currentGame"></param>
		public static void Initialize(Game currentGame) {
			Graphics = new GraphicsDeviceManager(currentGame) {
				PreferredBackBufferHeight = Height,
				PreferredBackBufferWidth  = Width					 
			};
			Graphics.ApplyChanges();
		}
	}
}
